﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ue.Infrastructure.RepositoryFramework;
using Ue.Qcdz.Domain.Membership;

namespace Ue.Qcdz.Domain.Roles
{
    public interface IRoleRepository : IRepository<Role>
    {
         IList<Role> GetRoleList(User user);
        void AddInUserRole(List<Role> roleList, string userId);
        Role FindBy(string roleName);
        
    }
}
